﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LibGreen
{
	/// <summary>
	/// Specifies the current status of a Contact / MetaContact
	/// </summary>
	[Flags]
	public enum ContactStatus
	{
		/// <summary>
		/// The contact is online(avaible and not away or idle
		/// </summary>
		Online = 2,
		/// <summary>
		/// The contact is away
		/// </summary>
		Away = 4,
		/// <summary>
		/// The contact is idle
		/// </summary>
		Idle = 8,
		/// <summary>
		/// The contact is both away and idle
		/// </summary>
		AwayIdle = Away | Idle,		
		/// <summary>
		/// The contact's status is unknown - neither online nor offline
		/// </summary>
		/// <remarks>This status marker is used for temporary contacts for which their
		/// protocol plugins may not be able to retrieve information.</remarks>
		Unknown = 128,
		/// <summary>
		/// Contact is Mobile
		/// </summary>
		Mobile = 256
	}
}
